package Others.DesignPattern.BuilderPattern.Pattern.Object;

public class PersonFatBuilder extends PersonBuilder {

    //具体类中去描写具体的组件构造
    @Override
    public void buildHead() {
        System.out.println(" fat head"); // 头部
        product.setHead("fat head");
    }

    @Override
    public void buildBody() {
        System.out.println(" fat body");
        product.setBody("fat body");
    }

    @Override
    public void buildArmLeft() {
        System.out.println(" fat arm left");
        product.setArmLeft("fat arm left");
    }

    @Override
    public void buildArmRight() {
        System.out.println(" fat arm right");
        product.setArmRight("fat arm right");
    }

    @Override
    public void buildLegLeft() {
        System.out.println(" fat leg left");
        product.setLegLeft("fat leg left");
    }

    @Override
    public void buildLegRight() {
        System.out.println(" fat leg right");
        product.setLegRight("fat leg right");
    }
}
